import React, { Component } from 'react';
import { NavBar, Icon } from 'antd-mobile';

export default class TopBar extends Component {
    static defaultProps = {
        mode: 'dark'
    }
    render() {
        const props = this.props;
        return (
            <NavBar
                {...props}
            >
                {props.children}
            </NavBar>
        )
    }
}